<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>数据库</title>
    <script src="../../js/jquery-3.1.1.min.js"></script>
</head>
<body>
查数据啦!
<a href="../index.html">首页</a>
<button id="btnFind">查找</button>
<div id="infoTable"></div>
</body>
<script type="text/javascript">
    $('#btnFind').on('click',function () {
        $.ajax({
            type:'GET',
            url:'find',
            data:{},
            success:function(result){
                console.log(result);
                $('#infoTable').text(result);
            },
            error:function (msg) {
                console.log(msg);
            }
        });
    });
</script>
</html>